package xiaoqi.springboot.log.helper;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class ExceptionHelper {

    private static final Logger log = LoggerFactory.getLogger(ExceptionHelper.class);

    public void throwException() {
        log.error("", new RuntimeException("TEST EXCEPTION"));
    }
}
